package com.gongye.courseselectionsystem.constants;

/**
 * @author baorongchuan
 */

public enum ResultCodeEnum {
    //成功
    SUCCESS(1, "成功"),
    //失败
    FAILED(500, "失败");

    private final Integer code;
    private final String message;

    ResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }


}
